package com.kgis.fm.model.system;

import java.util.Date;

import com.kgis.kp.model.LifecycleModel;

/**
 * 用户 - 权限
 * 
 * @author zhxiaomiao
 * @version 1.0
 */
public class User extends LifecycleModel {
	
	private static final long serialVersionUID = 1L;
	
	private int id;
	private String loginName;
	private String password;
	/**
	 * 密码提示
	 */
	private String passwordHint;
	private String username;
	private String telephone;
	/**
	 * refrence to Configuration ID
	 */
	private int cid;
	/**
	 * 是否有效
	 */
	private boolean Enabled;
	private long loginTimes;
	private Date lastLoginDate;
	/**
	 * 用户权限最新修改时间
	 */
	private Date permissionUpdate;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPasswordHint() {
		return passwordHint;
	}

	public void setPasswordHint(String passwordHint) {
		this.passwordHint = passwordHint;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	public int getCid() {
		return cid;
	}

	public void setCid(int cid) {
		this.cid = cid;
	}

	public boolean isEnabled() {
		return Enabled;
	}

	public void setEnabled(boolean enabled) {
		Enabled = enabled;
	}

	public long getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(long loginTimes) {
		this.loginTimes = loginTimes;
	}

	public Date getLastLoginDate() {
		return lastLoginDate;
	}

	public void setLastLoginDate(Date lastLoginDate) {
		this.lastLoginDate = lastLoginDate;
	}

	public Date getPermissionUpdate() {
		return permissionUpdate;
	}

	public void setPermissionUpdate(Date permissionUpdate) {
		this.permissionUpdate = permissionUpdate;
	}

}
